From: YAMAMOTO Mitsuharu Date: Mon, 15 Jan 2007 08:36:29 +0000 (+0000) Subject: (Fmac_resume_apple_event): Set error number when X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~2836 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=683cea1d0ebc2720fe56a6a589e6eb7258e2dee1;p=emacs.git (Fmac_resume_apple_event): Set error number when descriptor type of reply is non-null. --- diff --git a/src/macselect.c b/src/macselect.c index 8d15db24144..3dda1de5b7a 100644 --- a/src/macselect.c +++ b/src/macselect.c @@ -1390,7 +1390,7 @@ nil, which means the event is already resumed or expired. */) ae = *p; *p = (*p)->next; if (INTEGERP (error_code) - && ae->apple_event.descriptorType != typeNull) + && ae->reply.descriptorType != typeNull) { SInt32 errn = XINT (error_code);